package org.example.model.message;

import cn.lingyangwl.framework.mq.base.BaseMqMessage;
import lombok.*;

import java.math.BigDecimal;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AccountChangeMessage extends BaseMqMessage {
    /** 银行卡号 */
    private String accountNo;
    /** 转账的金额 */
    private BigDecimal amount;

    @Override
    public String toString() {
        return "AccountChangeMessage{" +
                "accountNo=" + accountNo +
                ", amount=" + amount +
                ", msgId='" + msgId + '\'' +
                '}';
    }
}
